const mongoose = require('mongoose')

mongoose.connect('mongodb://bigpar.cn/member_v1')
const db = mongoose.connection
db.on('error', (err) => { console.log(err || '连接错误') })

module.exports = mongoose